﻿using System.IO;
using MagickNet;

namespace MagickServer.Services {
    public class AbsoluteFileImageSource: IImageSource {
        public Image GetImage(string key) {
            using (var b = new Blob(File.ReadAllBytes(key)))
                return new Image(b);
        }
    }
}